package com.feeling.oafeeling.service;

import com.feeling.oafeeling.pojo.SysInstitution;
import com.feeling.oafeeling.pojo.SysInstitutionNode;

import java.util.List;

public interface SysInstitutionService {
    List<SysInstitutionNode> getInstitutionTree(SysInstitution sysInstitution);
    void buildInstitutionTree(List<SysInstitutionNode> nodes, List<SysInstitution> organizations);

    void upDataInstitution(SysInstitution sysInstitution);

    List<SysInstitution> getInstitutionByPage(Integer currentPage, Integer pageSize);

    void addInstitutionTree(SysInstitution sysInstitution);
}
